package com.uidt.project.ptsj.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.uidt.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.uidt.framework.aspectj.lang.annotation.Excel;

/**
 * 打分记录对象 ptsj_score_record
 *
 * @author uidt
 * @date 2024-08-14
 */
public class ScoreRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 巡检编号 */
    @Excel(name = "巡检编号")
    private Long inspectionId;

    /** 打分类型 */
    @Excel(name = "打分类型")
    private String scoreType;

    /** 打分项 */
    @Excel(name = "打分项")
    private String scoreItem;

    /** 打分说明 */
    @Excel(name = "打分说明")
    private String scoreRemark;

    /** 分值 */
    @Excel(name = "分值")
    private Long score;

    /** 删除标记 */
    private String delFlag;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd  HH:mm:SS")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd  HH:mm:SS")
    private Date createdTime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setInspectionId(Long inspectionId)
    {
        this.inspectionId = inspectionId;
    }

    public Long getInspectionId()
    {
        return inspectionId;
    }
    public void setScoreType(String scoreType)
    {
        this.scoreType = scoreType;
    }

    public String getScoreType()
    {
        return scoreType;
    }
    public void setScoreItem(String scoreItem)
    {
        this.scoreItem = scoreItem;
    }

    public String getScoreItem()
    {
        return scoreItem;
    }
    public void setScoreRemark(String scoreRemark)
    {
        this.scoreRemark = scoreRemark;
    }

    public String getScoreRemark()
    {
        return scoreRemark;
    }
    public void setScore(Long score)
    {
        this.score = score;
    }

    public Long getScore()
    {
        return score;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setCreatedBy(String createdBy)
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy()
    {
        return createdBy;
    }
    public void setCreatedTime(Date createdTime)
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime()
    {
        return createdTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("inspectionId", getInspectionId())
                .append("scoreType", getScoreType())
                .append("scoreItem", getScoreItem())
                .append("scoreRemark", getScoreRemark())
                .append("score", getScore())
                .append("delFlag", getDelFlag())
                .append("createdBy", getCreatedBy())
                .append("createdTime", getCreatedTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
